package com.stek.sanglhlib;

import android.content.Context;
import android.content.Intent;

public class Broadcast {
	public static void sendBroadcast(Context context, String action,
			String extra, boolean value) {
		Intent intent = new Intent(action);
		intent.putExtra(extra, value);
		context.sendBroadcast(intent);
	}

	public static void sendBroadcast(Context context, String action,
			String extra, int value) {
		Intent intent = new Intent(action);
		intent.putExtra(extra, value);
		context.sendBroadcast(intent);
	}

	public static void sendBroadcast(Context context, String action) {
		Intent intent = new Intent(action);
		context.sendBroadcast(intent);
	}
}
